/**
中间体
 */
.popularFood {
    width: 100%;
    height: auto;
    border: 0 solid black;
}

/**
包裹商品最外层的
 */
.food_div {
    width: 1200px;
    height: auto;
    border: 0 solid red;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}

.on_by_one {
    width: 1200px;
    /*height: 240px;*/
    height: inherit;
    border: 1px solid palegoldenrod;
}
/**
每一个商品
 */
.food {
    width: 200px;
    height: 240px;
    border: 1px solid deeppink;
    float: left;
    margin-left: 140px;
    position: relative;
    margin-top: 20px;
}

.food:hover {
    cursor: pointer;
    opacity: 0.8;
}

.food_img {
    position: absolute;
    top: 0;
    width: 200px;
    height: 200px;
}

.food_detail {
    position: absolute;
    bottom: 0;
    width: 200px;
    height: 40px;
}

.food_name {
    width: 100%;
    height: 20px;
    text-align: center;
}

.food_price {
    width: 100%;
    height: 20px;
    text-align: center;
}